package com.cmd.user;

import com.alibaba.fastjson.JSONObject;
import com.player.CommonUser;
import com.player.User;
import com.qy.util.StaticData;
import com.util.AbstractCommand;
import com.util.PBMessage;

/**
 * 车主查看坐标
 * @author zwl
 * 2018年2月3日
 */
public class PointCheckCloseCMD  extends AbstractCommand{

	@Override
	public void execute(User user, PBMessage packet) throws Exception {
		JSONObject reJs = new JSONObject();
		/*
		 * 关闭车主同步开关
		 */
		CommonUser cUser = (CommonUser) user;
		cUser.setSyncServerId(StaticData.no_param);		
		reJs.put(StaticData.reKey.code.getKey(), StaticData.codeType.ok.getType());
		reJs.put(StaticData.reKey.cmd.getKey(),packet.getCode());
		user.sendPacket(reJs);
		return;
	}

}
